﻿using MongoDB.Bson;
using MongoDB.Driver;
using CRL.Core;
using CRL.Data;
using System;
using System.Linq;
using System.Reflection;

namespace MongoTest
{
    class Program
    {
        static void Main(string[] args)
        {
            ConfigInit.Init();
            var asb = Assembly.GetAssembly(typeof(ITest));
            var types = asb.GetTypes().Where(b => typeof(ITest).IsAssignableFrom(b)).ToArray();
            ConsoleTest.DoCommand(types);
        }

        
    }
}
